#include <stdio.h>

void main() {
FILE *fp1;
FILE *fp2;
fp1 = fopen("test.txt", "r");
fp2 = fopen("test.txt", "r");
char buffer[256];
fscanf(fp1, "%s", buffer);
printf("%s\n", buffer);
fscanf(fp2, "%s", buffer);
printf("%s\n", buffer);
printf("fp1 (filetest.cpp):%d\n", fp1->_file);
printf("fp2 (filetest.cpp):%d\n", fp2->_file);
printf("stdin:%d\n", stdin->_file);
printf("stdout:%d\n", stdout->_file);
printf("stderr:%d\n", stderr->_file);
}